<%--
  Created by IntelliJ IDEA.
  User: iweb002
  Date: 2020/8/7
  Time: 10:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>平台的管理</title>
    <link rel="stylesheet" href="/static/css/reset.css">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <style>
        .mm-body{
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            background-image: url("https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1923670063,2787319125&fm=26&gp=0.jpg");
            background-size: 100%;
            height: 100%;
            background-repeat: no-repeat;
            justify-content: center;
            align-items: center;
        }
        .mm-body .mm-form{
            padding: 60px;
            border: 1px solid black;
            background-color: white;
            box-shadow: 0 0 3px black;
        }
    </style>
</head>
<body>
<div class="mm-body">
    <div class="mm-form">
        <form action="/api/admin/login" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">用户账号:</label>
                <div class="layui-input-block">
                    <input type="text" name="username" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">用户密码:</label>
                <div class="layui-input-inline">
                    <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-mid layui-word-aux">${message}</div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/layui/layui.js"></script>
</body>
</html>
